← Back to issue list

Value out of range error when pushing a snap to the store

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1737959
Type
issue
State
open
Author
~flexiondotorg
Labels
Created
2017-12-13 11:49:33.500984+00:00
Updated
2017-12-13 14:15:00.296810+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

I am attempting to upload a snap to the store using Ubuntu 18.04 daily which results in a ValueError traceback. This issue affects snapcraft 2.34+17.10 from the archive and all currently published versions of snapcraft from the snap store: stable: 2.35 (794) 53MB classic candidate: ↑ beta: 2.37 (924) 53MB classic edge: 2.37+git3.1a7a4f7 (938) 53MB classic This is how I'm attempting to upload the ~170MB snap. snapcraft push thing_v0.19.113_amd64.snap --release edge Here is the traceback: Traceback (most recent call last): File "/usr/bin/snapcraft", line 11, in <module> load_entry_point('snapcraft==2.34+17.10', 'console_scripts', 'snapcraft')() File "/home/martin/.local/lib/python3.6/site-packages/pkg_resources/__init__.py", line 570, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/home/martin/.local/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2751, in load_entry_point return ep.load() File "/home/martin/.local/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2405, in load return self.resolve() File "/home/martin/.local/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2411, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/usr/lib/python3/dist-packages/snapcraft/cli/__main__.py", line 19, in <module> run(prog_name='snapcraft') File "/usr/lib/python3/dist-packages/click/core.py", line 722, in __call__ return self.main(*args, **kwargs) File "/usr/lib/python3/dist-packages/click/core.py", line 697, in main rv = self.invoke(ctx) File "/usr/lib/python3/dist-packages/click/core.py", line 1066, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/usr/lib/python3/dist-packages/click/core.py", line 895, in invoke return ctx.invoke(self.callback, **ctx.params) File "/usr/lib/python3/dist-packages/click/core.py", line 535, in invoke return callback(*args, **kwargs) File "/usr/lib/python3/dist-packages/snapcraft/cli/store.py", line 118, in push snapcraft.push(snap_file, channel_list) File "/usr/lib/python3/dist-packages/snapcraft/_store.py", line 423, in push result = _push_snap(snap_name, snap_filename) File "/usr/lib/python3/dist-packages/snapcraft/_store.py", line 444, in _push_snap result = tracker.track() File "/usr/lib/python3/dist-packages/snapcraft/storeapi/__init__.py", line 808, in track progress_indicator.update(indicator_count) File "/home/martin/.local/lib/python3.6/site-packages/progressbar/bar.py", line 497, in update % (self.min_value, self.max_value)) ValueError: Value out of range, should be between 0 and 100

Evaluation history

No evaluation history available.